package com.mall.ums.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.ums.Menu;
import com.mall.model.domain.vo.MenuVo;
import com.mall.utils.PageResult;

import java.util.List;

/**
 * @author clutchcitylee
 * @create 2023-03-12-16:09
 */
public interface MenuService extends IService<Menu> {
    PageResult listByParentId(Integer parentId, Integer pageNum, Integer pageSize);

    List<MenuVo> treeList();

    void updateHidden(Integer id, Integer hidden);
}
